Cloudinary\Media\Filter C

Total Complexity 114
Dependencies 7
Dependents 2
Total lines 798
Lines of code 434
Logical lines of code 255
Comment lines 274
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
filter_out_local()
B
39 19 63
filter_video_shortcodes()
A
48 10 33
transform_to_editor()
A
51 8 24
maybe_alternate_id()
S
51 7 26
filter_attachment_for_js()
S
52 7 25
filter_video_embeds()
S
53 6 22
filter_attachment_for_rest()
S
55 6 19
pre_filter_rest_content()
S
57 4 17
get_video_shortcodes()
S
58 3 16
init_rest_filters()
S
62 4 10
get_size_from_image_tag()
S
62 3 12
filter_image_block_render_block()
S
68 3 6
get_media_tags()
S
63 3 10
catch_media_templates_maybe()
S
69 3 6
overwrite_template_inject()
S
57 2 15
prepare_amp_posts()
S
67 3 7
get_crop_from_image_tag()
S
64 3 10
get_url_from_tag()
S
68 2 7
maybe_overwrite_transformations()
S
70 2 6
edit_match_src()
S
67 2 8
get_classes()
S
70 2 6
get_poster_from_tag()
S
68 2 7
get_id_from_tag()
S
67 2 7
setup_hooks()
S
61 1 11
template_overwrite_edit()
S
66 1 11
template_overwrite_general()
S
67 1 10
template_overwrite_video_edit()
S
67 1 10
record_meta_update()
S
73 1 5
template_overwrite_insert_video()
S
67 1 10
template_overwrite_insert()
S
67 1 10
__construct()
S
73 1 5